
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0,viewport-fit=cover">
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta http-equiv="Content-Language" content="utf-8" />
  <meta name="applicable-device" content="pc,mobile" />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
  <meta content="all" name="robots" />
  <meta name="description" content="全国会计人员统一服务管理平台" />
  <meta name="keywords" content="全国会计人员统一服务管理平台" />
  <meta name="filetype" content="1" />
  <meta name="publishedtype" content="1"/>
  <meta name="pagetype" content="2"/>
  <meta name="catalogs" content="360333"/>
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
  <link rel="icon" type="image/png" href="https://ausmcdn.mof.gov.cn/portal/favicon.ico"/>
  <link rel="icon" sizes="192x192" href="https://ausmcdn.mof.gov.cn/portal/favicon.ico"/>
  <title>全国会计人员统一服务管理平台</title>

  <link href="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/css/style.css" rel="stylesheet" type="text/css" charset="utf-8"/>
  <!--<link href="templates/sdkjweb/front/css/style.css" rel="stylesheet" type="text/css" charset="utf-8"/>-->
  <!-- <link href="/index/templates/sdkjweb/front/css/style.css" rel="stylesheet" type="text/css" charset="utf-8"/>-->
  <link href="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/css/bootstrap.min.css" rel="stylesheet" type="text/css" charset="utf-8"/>
  <link href="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/css/bootstrap-icons.css" rel="stylesheet" type="text/css" />
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/jquery-3.6.0.min.js" type="text/javascript"></script>
  <!--   <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/bootstrap.bundle.min.js" type="text/javascript"></script>  登录按钮下拉菜单引用-->
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/bootstrap.min.js" type="text/javascript"></script>
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/base-util.js" type="text/javascript" charset="utf-8"></script>
  <!--    <script src="/index/templates/sdkjweb/front/js/base-util.js" type="text/javascript" charset="utf-8"></script>-->
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/TouchSlide.1.1.js" type="text/javascript" charset="utf-8"></script>
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/jquery.SuperSlide.2.1.3.source.js" type="text/javascript"></script><!--地方平台切换-->
  <script src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/jquery.elastislide.js" type="text/javascript"></script><!--服务大厅切换-->
  <script src="https://www.layuicdn.com/layer-v3.1.1/layer.js" type="text/javascript"></script>

  <script type="text/javascript"> //begin IE跳转到chrome.html页
  function redirectIfIE() {
    var ua = window.navigator.userAgent;
    var msie = ua.indexOf("MSIE ");

    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) // 判断是否为IE或Edge
    {
      // 是IE或Edge，跳转到指定页面
      window.location.href = "/index/chrome.html";
    }
  }

  redirectIfIE();
  </script>
  <script type="text/javascript">
    if (!document.getElementsByClassName) {
      document.getElementsByClassName = function (className, element) {
        var children = (element || document).getElementsByTagName('*');
        var elements = new Array();
        for (var i = 0; i < children.length; i++) {
          var child = children[i];
          var classNames = child.className.split(' ');
          for (var j = 0; j < classNames.length; j++) {
            if (classNames[j] == className) {
              elements.push(child);
              break;
            }
          }
        }
        return elements;
      };
    }
    var myclicka = function(a) {
      var carousela = document.getElementById("carousela");
      var llis = carousela.getElementsByTagName("li");
      for(var i = 0; i < llis.length; i++) {
        var lli = llis[i];
        if(lli == document.getElementById("taba" + a)) {
          lli.className = "zhttabcur";
        } else {
          lli.className = "";
        }
      }
      var divs = document.getElementsByClassName("taba_css");
      for(var i = 0; i < divs.length; i++) {
        var divv = divs[i];
        if(divv == document.getElementById("taba" + a + "_content")) {
          divv.style.display = "block";
        } else {
          divv.style.display = "none";
        }
      }
    }
  </script>
  <style>
    #myDiv {
      display: none; /* 默认隐藏 */
    }
    /*#bmbdyDiv {*/
    /*    display: none; !* 默认隐藏 *!*/
    /*}*/
    #myDivOut {
      display: block; /* 默认展示 */
    }
    #divOut {
      display: block; /* 默认展示 */
    }
    #storedValue {
      color: #1e5b8b; /* 设置字体颜色 */
    }
    #testDiv {
      display: none; /* 默认隐藏 */
    }
    #testDivBm {
      display: none; /* 默认隐藏 */
    }
    #testDivExempt {
      display: none; /* 默认隐藏 */
    }
    .notice1 {
      width: 248px;
      height:176px;
      z-index: 99999;
      position: fixed;
      top: 4px;
      left: 6px;
      border:2px solid #e88f4e;
    }
    .notice1 .close {
      width: 24px;
      height: 20px;
      position: absolute;
      left: 223px;
      cursor: pointer;
    }
    .notice1 .content {
      padding: 15px 12px 12px 12px;
      font-size:14px;
      font-weight:bolder;
      text-align:justify;
      line-height:21px; text-align:left; color:#db510e;font-family:"\5FAE\8F6F\96C5\9ED1","\5B8B\4F53"
    }
    .modal {
      display: none; /* 默认隐藏 */
      position: fixed;
      zindex: 1;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      overflow: auto;
      background: rgba(0,0,0,0.4);
    }
    /* 弹窗内容样式 */
    .modalcontent {
      height: auto;
      background: #fefefe;
      margin: 7% auto;
      padding: 20px;
      border: 1px solid #888;
      width:auto;
      text-align:center
    }
    /* 关闭按钮样式 */
    .close {
      color: #aaa;
      float: right;
      fontsize: 28px;
      fontweight: bold;
    }
    .el-card {
      border: 1px solid #EBEEF5;
      background-color: #FFF;
      color: #303133;
      -webkit-transition: .3s;
      transition: .3s;
    }
    .el-button {
      display: inline-block;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      background: #FFF;
      border: 1px solid #DCDFE6;
      color: #606266;
      -webkit-appearance: none;
      text-align: center;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      outline: 0;
      margin: 0;
      -webkit-transition: .1s;
      transition: .1s;
      font-weight: 500;
      padding: 12px 20px;
      font-size: 14px;
      border-radius: 4px
    }
    .el-button-primary {
      color: #FFF;
      background-color: #409EFF;
      border-color: #409EFF;
    }
  </style>
</head>

<body class="bgimg oumafont">
<div class="lay">
  <div class="backstretch"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/bg.jpg" ></div>
  <div class="webtop">
    <div class="banner clayout"> <span class="banner_logo"> <i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/logo.png" ></i><b>全国会计人员统一服务管理平台<em>National Unified Service Management Platform for Accounting Personnel</em></b> </span>
      <div id="myDivOut" class="banner_r"><span class="banner_login rounded"><a style="padding-right: 16px;color: #1e5b8b;padding-left:32px" target="_self" href="https://ausm.mof.gov.cn/account/#/ann/register" target="_blank">&nbsp;&nbsp;注册</a></span></div>
      <div id="myDiv" class="banner_r"><span class="banner_login rounded"><a style="padding-right: 0px" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/wel/index')"><span style="color: #fff" id="storedValue"></span>&nbsp;&nbsp;|</a><a onclick="logout()" style="padding-left:10px" target="_self">退出</a></span>
      </div>
    </div>
  </div>

  <button id="myBtn" style="display: none">打开弹窗</button>
  <div id="myModal" class="modal">


    <div class="modalcontent">
      <span class="close">&times;</span>
      <div>
        <span style="line-height:24px;font-size:18px;color:#303133;">扫码绑定微信</span>
        <!--            <p style="font-weight: bold; color: #db0000; font-family: 'Microsoft YaHei'; font-size: 17px; margin-top: 30px; text-align: center;">微信扫一扫，可第一时间接收会计资格考试成绩等重要信息推送</p>
                    <div class="el-card" style="padding: 0px; text-align: center;width: 33.333%;margin-left: 12%;margin-top: 4%;">
                        <div class="el-image" style="height: 258px; width: 258px; margin-top: 20px; margin-bottom: -12px;">
                            <img src="https://ausmcdn.mof.gov.cn/front/img/wechat/wxgzh.jpg" style="margin-left: 8%;">
                        </div>
                        <div class="desc" style="padding: 30px;">
                            <span>扫码关注公众号</span>
                        </div>
                    </div>-->
        <!--            <div class="el-card" style="padding: 0px; text-align: center;width: 33.333%;margin-left: 54%;margin-top: -39%;height: 60%">
                        <div class="el-image" style="height: 258px; width: 258px; margin-top: 20px; margin-bottom: -12px;">
                            <img id="myImage" src="https://ausmcdn.mof.gov.cn/front/img/wechat/wxgzh.jpg" style="margin-top: -6%;">
                        </div>
                        <div class="desc" style="padding: 30px;">
                            <div>
                                <button onclick="refreshQrCode()">刷新二维码</button>
                            </div>
                            <span>扫码绑定微信</span>
                        </div>
                    </div>-->
        <!--            <p style="font-weight: bold; color: #E6A23C; font-family: 'Microsoft YaHei'; font-size: 15px; margin-top: 30px; text-align: center;"><strong>绑定要求：</strong>请先使用微信扫一扫左侧二维码，关注官网微信公众号；再使用微信扫一扫右侧二维码进行微信绑定操作。</p>
                    <button class="el-button el-button-primary" style="margin-left: 4%" onclick="closeWechat()">关 闭</button>
                    <button class="el-button el-button-primary" style="margin-left: 10%" onclick="closeWechatNo()">关闭并不再弹出</button>-->
        <div class="modalmstyle1">
          <div class="modalmt1">微信扫一扫，可第一时间接收会计资格考试成绩等重要信息推送</div>
          <div class="modalewm1">
            <div><img src="https://ausmcdn.mof.gov.cn/front/img/wechat/wxgzh.jpg" /><span>扫码关注公众号</span></div>
            <div><img id="myImage" src="https://ausmcdn.mof.gov.cn/front/img/wechat/wxgzh.jpg" /><br/><input type="button" value="刷新二维码" onclick="refreshQrCode()" ><span>扫码绑定微信</span></div>
          </div>
          <div class="modalmt2">绑定说明：请先使用微信扫一扫左侧二维码，关注官网微信公众号，再使用微信扫一扫右侧二维码进行微信绑定。</div>
          <div class="modalmstyle1btns"><input type="button" value="关闭" onclick="closeWechat()"><input type="button" value="关闭并不再弹出" onclick="closeWechatNo()"></div>
        </div>
      </div>
    </div>


  </div>

  <div id="divOut">
    <div class="indexloginmk clayout"> <b>用户入口</b>
      <div> <a onclick="goSsoAuthUrl()" target="_self"><span><i class="bi bi-person-fill"></i></span><em>会计人员登录</em></a>
        <a onclick="goSsoAuthUrl()" target="_self"><span><i class="bi bi-building"></i></span><em>单位法人用户登录</em></a>
        <a href="https://ausmmange.mof.gov.cn" target="_self"><span><i class="bi bi-person-workspace"></i></span><em>财政用户登录</em></a>
      </div>
    </div>
  </div>

  <div class="indexmenus clayout">
    <div class="indexmenusmk">
      <div class="indexmenusmk-h2"><i></i><span>会计人员服务管理</span></div>
      <div class="row">
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i1.png"/></i><span>会计人员信息采集</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/migrateView')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i4.png"/></i><span>会计人员属地关系调转</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/examLink')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i5.png"/></i><span>会计专业技术资格考试</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/pg')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i13.png"/></i><span>会计人员职称</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/edu')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i7.png"/></i><span>会计人员继续教育登记</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/rewardView')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i14.png"/></i><span>个人奖惩记录</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/talentbatch')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i16.png" style="width: 23px!important" /></i><span>高端会计人才培养</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/guidelink')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i17.png" style="width: 23px!important" /></i><span>会计法规制度学习</span></a></div>
      </div>
      <div class="indexmenusmk-h2" style="margin-top:15px"><i></i><span>单位用户服务管理</span></div>
      <div class="row">
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientDwK('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/socialUnits')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i3.png"/></i><span>单位会计人员信息管理</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientDwK('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/unitsEduImport')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i7.png"/></i><span>单位会计人员继续教育管理</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientDwK('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/guidelinedw')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i11.png"/></i><span>单位会计准则制度反馈意见</span></a></div>
        <div class="col-sm-12 col-md-6 col-xl-4"><a class="indexah" onclick="redirectToClientDwK('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/unitsCerdit/index')" target="_blank"><i><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i14.png"/></i><span>单位奖惩信息</span></a></div>
      </div>
    </div>
  </div>

  <div class="indexServiceHall clayout">
    <div class="indexServiceHallh"><span>服务大厅</span></div>
    <div class="servicesmk">
      <div class="servicesmknav es-carousel-wrapper" id="carousela">
        <div class="es-carousel">
          <ul>
            <li id="taba1" onmouseover="myclicka(1)"><a target="_self">会计人员信息服务</a></li>
            <span>/</span>
            <li id="taba2" onmouseover="myclicka(2)" class="zhttabcur"><a target="_self">考试服务</a></li>
            <span>/</span>
            <li id="taba3" onmouseover="myclicka(3)" ><a target="_self">职称申报</a></li>
            <span>/</span>
            <li id="taba4" onmouseover="myclicka(4)"><a target="_self" style="letter-spacing: -1px">高端会计人才培养</a></li>
            <span>/</span>
            <li id="taba5" onmouseover="myclicka(5)"><a target="_self">公共服务</a></li>
          </ul>
        </div>
      </div>
      <script type="text/javascript">
        $('#carousela').elastislide({
          imageW: 210,
          minItems: 1
        });
      </script>
      <ul class="taba_css" id="taba1_content">
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i1.png" /></i><b>信息采集</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/change')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i2.png" /></i><b>信息变更</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/wel/index')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i3.png" /></i><b>信息查询</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/migrateView')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i4.png" /></i><b>属地关系调转</b></a>
      </ul>
      <ul class="taba_css" id="taba2_content" style="display: block">
        <a id ="testDivBm" class="rounded-1 tabmah" onclick="redirectToClientBm('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i3.png" /></i><b>网上报名</b></a>
        <!--<a id ="testDiv" class="rounded-1 tabmah" onclick="redirectToClientMarshal('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i18.png" /></i><b>准考证打印</b></a>-->
        <!--<a id="bmbdyDiv" class="rounded-1 tabmah"  onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/applyFormPrint')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i7.png" /></i><b>报名表打印</b></a>-->
        <a id ="testDivExempt" class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/exempt')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i1.png" /></i><b>免试申请</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/acScoreFree')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i6.png" /></i><b>免试申请结果查询</b></a>
        <a class="rounded-1 tabmah" href="gradePage0.html" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i5.png" /></i><b>成绩查询</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/signup/#/acc/review')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i1.png" /></i><b>成绩复核</b></a>
        <a class="rounded-1 tabmah" href="http://kzp.mof.gov.cn/hgxxquery.jsp" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i8.png" /></i><b>合格证明下载</b></a>
      </ul>
      <ul class="taba_css" id="taba3_content">
        <!--<a class="rounded-1" onclick="goInto()" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i9.png" /></i><b>高级会计职称申报</b></a>-->
        <a class="rounded-1  tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/certView')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i10.png" /></i><b>高级会计职称评审结果查询</b></a>
      </ul>
      <ul class="taba_css" id="taba4_content">
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/talentbatch')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i11.png" /></i><b>选拔报名</b></a>
        <a class="rounded-1 tabmah" onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/talentbatch')" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i12.png" /></i><b>选拔结果公示</b></a>
        <!--                <a class="rounded-1" href="https://ausm.mof.gov.cn/index/xsyj.html" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i12.png" /></i><b>选拔结果公示</b></a>-->
      </ul>
      <ul class="taba_css" id="taba5_content">
        <a class="rounded-1 tabmah" href="https://ausm.mof.gov.cn/account/#/ann/pgQuery" target="_blank"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i13.png" /></i><b>会计职称信息查询</b></a>
        <!--                <a class="rounded-1 tabmah" href="https://ausm.mof.gov.cn/account/#/ann/rewardPublic" target="_blank"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i14.png" /></i><b>会计人员奖惩信息查询</b></a>-->
        <!--<a class="rounded-1 tabmah" href="https://ausm.mof.gov.cn/account/#/ann/talentQuery" target="_blank"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i15.png" /></i><b>高端会计人才培养<br/>信息查询</b></a>-->
      </ul>
      <!--            <ul class="taba_css" id="taba5_content">-->
      <!--                <a class="rounded-1" href="https://ausm.mof.gov.cn/account/#/ann/pgQuery" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i13.png" /></i><b>会计职称信息查询</b></a>-->
      <!--                <a class="rounded-1" href="https://ausm.mof.gov.cn/account/#/ann/rewardPublic" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i14.png" /></i><b>会计人员奖惩信息查询</b></a>-->
      <!--                <a class="rounded-1" href="https://ausm.mof.gov.cn/account/#/ann/talentQuery" target="_self"><i class="rounded-1"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/i15.png" /></i><b>高端会计人才培养<br/>信息查询</b></a>-->
      <!--            </ul>-->
      <div style="clear: both"></div>
    </div>
    <div style="clear: both"></div>
  </div>
  <div class="platformlay clayout">
    <div class="platformh"><span><i class="platformhl"></i>地方平台<i class="platformhr"></i></span></div>
  </div>
  <div class="platformain picScroll-left clayout">
    <div class="hd"><a class="next"></a><a class="prev"></a></div>
    <div class="bd">
      <div class="tempWrap">
        <ul class="picList">
          <li>
            <a href="https://czj.beijing.gov.cn/index.html" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/1beijing.jpg"></span><b>北京</b></a>
            <a href="https://kjw.hlj.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/25heilongjiang.jpg"></span><b>黑龙江</b></a>
          </li>
          <li>
            <a href="https://cz.tj.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/2tianjin.jpg"></span><b>天津</b></a>
            <a href="https://czj.sh.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/4shanghai.jpg"></span><b>上海</b></a>
          </li>
          <li>
            <a href="https://czt.hebei.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/19hebei.jpg"></span><b>河北</b></a>
            <a href="http://czt.jiangsu.gov.cn/col/col77590/index.html" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/5jiangsu.jpg"></span><b>江苏</b></a>
          </li>
          <li>
            <a href="http://www.kjzx.cn/Web/Html/02/Index.html?ss=2022-03-09%2014%ef%bc%9a58%ef%bc%9a49%ef%bc%9a8906" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/26shanxi.jpg"></span><b>山西</b></a>
            <a href="https://kjzj.czt.zj.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/6zhejiang.jpg"></span><b>浙江</b></a>
          </li>
          <li>
            <a href="https://www.nmgacc.cn/zzq/index.html" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/3neimeng.jpg"></span><b>内蒙古</b></a>
            <a href="https://czt.ah.gov.cn/zdzt/hjgl/index.html" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/7anhui.jpg"></span><b>安徽</b></a>
          </li>
          <li>
            <a href="https://czt.ln.gov.cn/czt/lnkjw" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/27liaoning.jpg"></span><b>辽宁</b></a>
            <a href="http://czt.fujian.gov.cn/ztzl/czkj/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/8fujian.jpg"></span><b>福建</b></a>
          </li>
          <li>
            <a href="http://czt.jl.gov.cn/ztzl/kjgl/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/21jilin.jpg"></span><b>吉林</b></a>
            <a href="https://acc.jxf.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/9jiangxi.jpg"></span><b>江西</b></a>
          </li>
          <li>
            <a href="http://www.sdkjxxw.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/22shandong.jpg"></span><b>山东</b></a>
            <a href="https://czt.henan.gov.cn/ztzl/kj/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/23henan.jpg"></span><b>河南</b></a>
          </li>
          <li>
            <a href="https://czt.hubei.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/10hubei.jpg"></span><b>湖北</b></a>
            <a href="http://czt.hunan.gov.cn/czt/ztzl/kjxxw/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/11hunan.jpg"></span><b>湖南</b></a>
          </li>
          <li>
            <a href="http://kj.czt.gd.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/20guangdong.jpg"></span><b>广东</b></a>
            <a href="https://czt.gxzf.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/12guangxi.jpg"></span><b>广西</b></a>
          </li>
          <li>
            <a href="http://mof.hainan.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/31hainan.jpg"></span><b>海南</b></a>
            <a href="https://czj.cq.gov.cn/bsfw_268/hjzj/xxfb_31627/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/13chongqing.jpg"></span><b>重庆</b></a>
          </li>
          <li>
            <a href="http://czt.sc.gov.cn/scczt/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/14sichuan.jpg"></span><b>四川</b></a>
            <a href="http://czkj.guizhou.gov.cn/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/28guizhou.jpg"></span><b>贵州</b></a>
          </li>
          <li>
            <a href="http://czt.yn.gov.cn/index.html" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/15yunnan.jpg"></span><b>云南</b></a>
            <a href="http://220.182.49.140:7001/xzkjw/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/29xizang.jpg"></span><b>西藏</b></a>
          </li>
          <li>
            <a href="http://kjw.shaanxi.gov.cn/kjw/" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/24shanxi.jpg"></span><b>陕西</b></a>
            <a href="http://czt.gansu.gov.cn/czt/c107470/gansukuaijiwang.shtml" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/16gansu.jpg"></span><b>甘肃</b></a>
          </li>
          <li>
            <a href="http://www.qhkjw.gov.cn:8080/qhcms" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/17qinghai.jpg"></span><b>青海</b></a>
            <a href="https://218.95.166.1:8888/public/NXKJXXW/dynamic/index.jsp?id=1" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/18ningxia.jpg"></span><b>宁夏</b></a>
          </li>
          <li>
            <a href="https://kjgl.xjcz.gov.cn/accNet/index/toHome.htm" target="_blank"><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/30xinjiang.jpg"></span><b>新疆</b></a>
            <a href="https://btkjw.xjbt.gov.cn:88/" target="_blank" style=""><span><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/citys/32taiwan.jpg"></span><b>兵团</b></a>
          </li>
        </ul>
      </div>
    </div>
    <script>
      var qwid=screen.width;
      if(1510<=qwid){
        document.writeln("<script type=\'text/javascript\'>jQuery(\'.picScroll-left\').slide({titCell:\'.hd ul\',mainCell:\'.bd ul\',autoPage:true,effect:\'left\',autoPlay:false,vis:7,easing:\'easeOutCirc\'});<\/script>");
      }
      else if(1200<=qwid && qwid<=1509){
        document.writeln("<script type=\'text/javascript\'>jQuery(\'.picScroll-left\').slide({titCell:\'.hd ul\',mainCell:\'.bd ul\',autoPage:true,effect:\'left\',autoPlay:false,vis:6,easing:\'easeOutCirc\'});<\/script>");
      }

    </script>
  </div>
  <div class="indexbq clayout">
    <p>指导单位：中华人民共和国财政部&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;承办单位：财政部会计财务评价中心&nbsp;&nbsp;<br/></p>
    <p>网站声明&nbsp;&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/#/Integrated/index" target="_blank">京ICP备05002860号</a>&nbsp;&nbsp;&nbsp;<br/></p>
  </div>
  <!--工具条-->
  <script type="text/javascript">
    var flag=0;
    var controlDIV = function(v) {
      var my = document.getElementById("my");
      var bt_display = document.getElementById("bt_display");
      if(flag==0)
      {
        my.style.display="none";
        bt_display.className = "rfdz";
        flag=1;
      }
      else
      {
        my.style.display="block";
        bt_display.className = "rfds";
        flag=0;
      }
    }
  </script>
  <div class="rfd shadow">
    <DIV id="my">
      <a href="https://ausm.mof.gov.cn/account/#/ann/question" target="_blank" class="rf04"><em class="rounded-circle"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/tool/it4.png" alt="常见问题答疑"/></em><i>常见问题答疑</i></a>
      <a href="https://ausmcdn.mof.gov.cn/front/cdn/styles/czsc.pdf" target="_blank" class="rf01"><em class="rounded-circle"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/tool/it1.png" alt="操作说明"/></em><i>操作说明</i></a>
      <a onclick="window.open('http://kzp.mof.gov.cn/customer_service_client/robot.html','','width=1023,height=720, resizable=yes,scrollbars=yes,status=no')" target="_blank" class="rf02"><em class="rounded-circle"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/tool/it2.png" alt="智能客服"/></em><i>智能客服</i></a>
      <a onclick="alert('遇到系统操作等技术问题，可拨打技术支持电话4000301185获取帮助。\n注：该电话仅支持解答平台技术操作相关问题。')" target="_blank" class="rf03"><em class="rounded-circle"><img src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/tool/it3.png" alt="技术咨询电话"/></em><i>技术咨询电话</i></a>
    </DIV>
    <a id="bt_display" class="rfds" onclick="controlDIV()"></a>
  </div>

  <!--   飘窗-->
  <DIV class="notice" id="divNotice01" style="display:none">
    <DIV class="close" style = "color:white">x</DIV>
    <!--            <DIV onclick="redirectToClientMarshal('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_blank"  class="content">2025年度全国会计专业技术资格考试<br/>准考证打印（初、高级）</DIV>-->
    <!--            <DIV onclick="window.open('https://accexam.esnai.net/')" target="_blank"  class="content">会计法律法规<br/>答题活动</DIV>2025年度全国会计专业技术<br/>初级高级资格考试报名-->
    <DIV onclick="redirectToClientBm('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/collect')" target="_blank"  class="content">2025年度全国会计专业技术<br/>中级资格考试报名</DIV>
    <!--            <DIV onclick="redirectToClientCk('https://ausm.mof.gov.cn/account' , 'https://ausm.mof.gov.cn/account/#/acc/acScore')" style="background-color: #218ee7" target="_blank"  class="content">2025年度全国会计专业技术<br/>初级资格成绩查询</DIV>-->
    <STYLE type="text/css">
      .notice {width: 290px;height:112px;z-index: 99999;position: fixed;cursor:pointer;top: 4px;left: 6px;background:#1682da;
        background: linear-gradient(45deg, #00c0fa, #015eea);
        background: -webkit-gradient(linear, 45deg, from(#00c0fa), to(#015eea));
        background: -webkit-linear-gradient(45deg, #00c0fa, #015eea);
        background: -moz-linear-gradient(45deg, #00c0fa, #015eea);
        background: -o-linear-gradient(45deg, #00c0fa, #015eea);
        background: -ms-linear-gradient(45deg, #00c0fa, #015eea);
        background: linear-gradient(45deg, #00c0fa, #015eea);
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType = 1, startColorstr = #00c0fa, endColorstr = #015eea); background-color:#3d67c0\9;}
      .notice .close{width: 22px;height: 22px;position: absolute;right:0px;cursor: pointer;background: url("images/close1.png") center no-repeat; z-index:9999}
      .notice .content {padding: 31px 12px 12px 12px;font-size:16px;font-weight:bolder;line-height:28px; text-align:center; color:#fff;font-family:"\5FAE\8F6F\96C5\9ED1","\5B8B\4F53"; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}
    </STYLE>
    <SCRIPT src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/FloatWindow.js"></SCRIPT>
  </DIV>
  <!--.notice .content1 {padding: 31px 12px 12px 12px;font-size:22px;font-weight:bolder;line-height:28px; text-align:center; color:#fff;font-family:"\5FAE\8F6F\96C5\9ED1","\5B8B\4F53"; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}-->
</div>

<!--onclick="window.open('http://124.133.0.125:81/cas/sso/auth?redirect=http://124.133.0.125:81/index?back=http%3A%2F%2F124.133.0.125%3A81%2Fsignup%2F%23%2Fwel%2Findex')"
onclick="window.open('https://ausm.mof.gov.cn/cas/sso/auth?redirect=https://ausm.mof.gov.cn/signup/#/sso?back=https%3A%2F%2Fausm.mof.gov.cn%2Fsignup%2F%23%2Fwel%2Findex')"
-->

<!--<div rel="noopener noreferrer" class="notice1" id="divNotice02" style="left: 934px; top: 322px;background:url(https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/images/piaochuang.jpg) no-repeat center;background-size: 100% 100%">
	<DIV class="close">×</DIV>
	<DIV onclick="window.open('https://ausmcdn.mof.gov.cn/front/cdn/styles/czsc.pdf')" style="height: 100%"></DIV>
</div>-->

<!--飘窗开始-->
<!---->
<!---->
<!--<div rel="noopener noreferrer" class="notice1" id="divNotice02" style="left: 934px; top: 322px;background:url(/upload/image/202406/1717750844920piaochuan2.png) no-repeat center;background-size: 100% 100%">
	<DIV class="close">×</DIV>
	<DIV onclick="window.open('/indexhttps://ausmcdn.mof.gov.cn/front/cdn/styles/czsc.pdf')" style="height: 100%"></DIV>
</div>


<!--<a href="/indexhttps://ausmcdn.mof.gov.cn/front/cdn/styles/czsc.pdf">-->
<!--	<div class="notice1" id="divNotice02"  >-->
<!--		<div class="close"></div>-->
<!--		<div class="content"></div>-->
<!--	</div>-->
<!--</a>-->
<!---->
<!---->
<!--飘窗结束-->

<!--<script type="text/javascript"  src="https://ausmcdn.mof.gov.cn/portal/templates/sdkjweb/front/js/FloatWindow.js"></script>-->

<script type="text/javascript">

  var back = null;
  var ticket = null;

  function goIntoA() {
    alert('非准考证打印期间！')
  }

  function goIntoB() {
    alert('非成绩查询期间！')
  }

  function goIntoD() {
    alert('功能暂未开放，敬请期待！')
  }

  // 查询当前会话是否登录
  function loadinfo() {
    const tokenValue = localStorage.getItem('token');
    if (tokenValue == null || tokenValue == '' || tokenValue == 'null') {
      document.getElementById('myDiv').style.display = 'none';
      document.getElementById('myDivOut').style.display = 'block';
      // document.getElementById('bmbdyDiv').style.display = 'none';
      return;
    }

    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          if(localStorage.getItem('type') === 'app'){
            sa1.ajax('/app-v1/wechat/mp/bind-state-portal', 'get', {}, function(res) {
              if(!res.data){
                modal.style.display = "block";
                sa1.ajax('/app-v1/wechat/mp/qrcode', 'get', {}, function(res) {
                  document.getElementById('myImage').src = res.data.image;
                })
              }
            });
          }
          const storedValue = localStorage.getItem('user_name')
          if (storedValue) {
            if (localStorage.getItem('tester') === '1') {
              // document.getElementById('testDiv').style.display = 'block';
              document.getElementById('testDivBm').style.display = 'block';
              document.getElementById('testDivExempt').style.display = 'block';
            }
            document.getElementById('storedValue').textContent = storedValue;
            // document.getElementById('testDivBm').style.display = 'block';
            // document.getElementById('testDivExempt').style.display = 'block';
            // document.getElementById('testDiv').style.display = 'block';
            document.getElementById('myDiv').style.display = 'block';
            document.getElementById('myDivOut').style.display = 'none';
            document.getElementById('divOut').style.display = 'none';
            // document.getElementById('bmbdyDiv').style.display = 'block';
          }
        } else{
          localStorage.removeItem('token');
          localStorage.removeItem('refreshToken');
          localStorage.removeItem('user_name');
          localStorage.removeItem('type');
          localStorage.removeItem('tester');
          document.getElementById('myDiv').style.display = 'none';
          document.getElementById('myDivOut').style.display = 'block';
          document.getElementById('divOut').style.display = 'block';
          // document.getElementById('bmbdyDiv').style.display = 'none';
        }
      }

    })
  }

  $(function() {
    handleThirdLogin();
    doLogin();
  })

  // 获取弹窗元素
  var modal = document.getElementById("myModal");
  // 获取打开弹窗的按钮
  var btn = document.getElementById("myBtn");
  // 获取关闭按钮元素
  var span = document.getElementsByClassName("close")[0];
  // 点击按钮打开弹窗
  btn.onclick = function() {
    modal.style.display = "block";
  }
  // 点击关闭按钮关闭弹窗
  span.onclick = function() {
    modal.style.display = "none";
  }
  function closeWechat() {
    modal.style.display = "none";
  }
  function closeWechatNo() {
    var result = confirm("是否确认关闭并且不再弹出？");
    if (result) {
      sa1.ajax('/app-v1/wechat/mp/bind-no-portal', 'get', {}, function(res) {
        if(res.data){
          modal.style.display = "none";
        }
      });
    }
  }
  // 点击弹窗外区域关闭弹窗
  window.onclick = function(event) {
    if (event.target == modal) {
      modal.style.display = "none";
    }
  }

  function refreshQrCode() {
    sa1.ajax('/app-v1/wechat/mp/qrcode', 'get', {}, function(res) {
      document.getElementById('myImage').src = res.data.image;
    })
  }

  // 注销
  function logout() {
    sa.ajax('/oauth/logout', 'get', {}, function(res) {
      localStorage.clear();
      var keys = document.cookie.match(/[^ =;]+(?=\=)/g);
      if (keys) {
        for (var i = keys.length; i--;) {
          document.cookie = keys[i] + '=0;path=/;expires=' + new Date(0).toUTCString();
          document.cookie = keys[i] + '=0;path=/;domain=' + document.domain + ';expires=' + new Date(0).toUTCString();
          document.cookie = keys[i] + '=0;path=/;domain=kevis.com;expires=' + new Date(0).toUTCString();
        }
      }
      location.reload()
    });
  }


  // 重定向至认证中心
  function goSsoAuthUrl() {
    sa.ajax('/cas/sso/getSsoAuthUrl', 'post', {clientLoginUrl: location.href}, function(res) {
      var url = res.data
      var url1 = url.slice(0,-7)
      location.href = url1 + '?back=' + encodeURIComponent(location.href);
    })
  }

  function doLogin() {
    back = getParam('back');
    ticket = getParam('ticket');
    if(ticket) {
      doLoginByTicket(ticket);
    }else{
      loadinfo();
      // let localUrl = location.href;
      // if(localUrl !== "https://ausm.mof.gov.cn/index/"){
      //     if(localUrl !== "https://112.126.33.161/index/"){
      //         location.href = 'https://ausm.mof.gov.cn/index/404.html';
      //     }
      // }
    }
  }

  function handleThirdLogin() {
    var topUrl = window.location.href;
    var redirectUrl = "/oauth/redirect/";
    var source = getQueryString("source");
    var code = getQueryString("code");
    var state = getQueryString("state");
    if (validatenull(source) && topUrl.includes(redirectUrl)) {
      var urlSource = topUrl.split("?")[0];
      urlSource = urlSource.split(redirectUrl)[1];
      source = urlSource;
    }
    if (topUrl.includes(redirectUrl) && !validatenull(source) && !validatenull(code) && !validatenull(state)) {
      var data = {
        grant_type: 'social',
        source: source,
        code: code,
        state: state
      };
      sa.loading("登陆中...");
      $.ajax({
        url: baseUrl + "/oauth/token",
        type: 'post',
        data: data,
        dataType: 'json',
        headers: {
          'Authorization': 'Basic Y2FzX3Nzb19wcm9kOmJoN1RodTdzaGY1M2VHam44ZlI0NmU1RjNHNlFGcDg='
        },
        success: function(res){
          sa.hideLoading();
          localStorage.setItem('token', res.access_token);
          localStorage.setItem('refreshToken', res.refresh_token);
          localStorage.setItem('user_name', "您好，" + res.real_name);
          localStorage.setItem('type', res.detail.type);
          localStorage.setItem('tester', res.detail.tester);
          layer.msg('登录成功！');
          setTimeout(function() {
            window.location.href = topUrl.split(redirectUrl)[0];
          }, 2500);
        },
        error: function(xhr, type, errorThrown){
          sa.hideLoading();
          if(xhr.status == 0){
            return alert('无法连接到服务器，请检查网络');
          }
          if (xhr.status != 200) {
            if (xhr.responseJSON.error_description != null && xhr.responseJSON.error_description != '') {
              location.href = 'https://ausm.mof.gov.cn/index/';
              return alert(xhr.responseJSON.error_description);
            } else {
              location.href = 'https://ausm.mof.gov.cn/index/';
              return alert(xhr.responseJSON.msg);
            }
          }

        }
      });
    }
  }

  function getQueryString(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) {
      return unescape(decodeURI(r[2]));
    }
    return null;
  }

  /**
   * 判断是否为空
   */
  function validatenull(val) {
    if (typeof val == 'boolean') {
      return false;
    }
    if (typeof val == 'number') {
      return false;
    }
    if (val instanceof Array) {
      if (val.length == 0) return true;
    } else if (val instanceof Object) {
      if (JSON.stringify(val) === '{}') return true;
    } else {
      if (val == 'null' || val == null || val == 'undefined' || val == undefined || val == '') return true;
      return false;
    }
    return false;
  }

  // 根据ticket值登录
  function doLoginByTicket(ticket) {
    sa.ajax('/cas/sso/doLoginByTicket', 'post', {ticket: ticket}, function(res) {
      if(res.data != null && res.data != '') {
        localStorage.setItem('token', res.data.access_token);
        localStorage.setItem('refreshToken', res.data.refresh_token);
        localStorage.setItem('user_name', "您好，" + res.data.real_name);
        localStorage.setItem('type', res.data.detail.type);
        localStorage.setItem('tester', res.data.detail.tester);
        location.href = decodeURIComponent(back);
      } else {
        document.write(res.msg);
      }
    })
  }

  function redirectToClient(clientHost , redirectUri) {
    alert('功能暂未开放，敬请期待！')
    // sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
    //     if (res.success) {
    //         if(res.data != null && res.data != '') {
    //             localStorage.setItem('user_name', "您好，" +  res.data.real_name);
    //             localStorage.setItem('token', res.data.access_token);
    //             localStorage.setItem('refreshToken', res.data.refresh_token);
    //             var back1 = encodeURIComponent(redirectUri);
    //             var redirect = clientHost + '/#/sso?back=' + back1;
    //             if(localStorage.getItem('type') === 'org'){
    //                 alert('仅个人用户可进入')
    //             }else {
    //                 sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
    //                     if (res.success) {
    //                         if(res.data != null && res.data != '') {
    //                             //location.href = decodeURIComponent(res.data);
    //                             window.open(decodeURIComponent(res.data), '_blank');
    //                         } else {
    //                             //location.href = redirect;
    //                             window.open(redirect, '_blank');
    //                         }
    //                     }
    //                 });
    //             }
    //         } else {
    //             goSsoAuthUrl();
    //         }
    //     }
    // });
  }

  function redirectToClientCk(clientHost , redirectUri) {
    //判断是否是苹果手机
    let flag = navigator.userAgent.match(/(iPhone|iPod|ios|iPad)/i);
    // alert('功能暂未开放，敬请期待！')
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '/#/sso?back=' + back1;
          if(localStorage.getItem('type') === 'org'){
            alert('仅个人用户可进入')
          }else {
            sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
              if (res.success) {
                if(res.data != null && res.data != '') {
                  if (flag) {
                    window.location.href = decodeURIComponent(res.data);
                  }else{
                    //location.href = decodeURIComponent(res.data);
                    window.open(decodeURIComponent(res.data), '_blank');
                  }

                } else {
                  if (flag) {
                    window.location.href = redirect;
                  }else{
                    //location.href = redirect;
                    window.open(redirect, '_blank');
                  }

                }
              }
            });
          }
        } else {
          goSsoAuthUrl();
        }
      }
    });
  }

  function redirectToClientMarshal(clientHost , redirectUri) {
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '/#/sso?back=' + back1;
          var backSignup = encodeURIComponent('https://ausm.mof.gov.cn/signup/#/wel/marshal');
          var redirectSignup = 'https://ausm.mof.gov.cn/signup' + '/#/sso?back=' + backSignup;
          if(localStorage.getItem('type') === 'org'){
            alert('仅个人用户可进入')
          }else {
            sa1.ajax('/app-v1/check-register/checkAuth', 'post', {redirectUrl: redirectUri}, function(res) {
              var str = res.msg
              if(str.indexOf("realnameauth") !== -1){
                // window.open(res.msg, '_blank');
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      window.open(decodeURIComponent(res.data), '_blank');
                    } else {
                      window.open(redirect, '_blank');
                    }
                  }
                });
              }else{
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirectSignup}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      window.open(decodeURIComponent(res.data), '_blank');
                    } else {
                      window.open(redirectSignup, '_blank');
                    }
                  }
                });
              }
            });
          }
        } else {
          goSsoAuthUrl();
        }
      }
    });
  }

  function redirectToClientBm(clientHost , redirectUri) {
    //判断是否是苹果手机
    let flag = navigator.userAgent.match(/(iPhone|iPod|ios|iPad)/i);
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '/#/sso?back=' + back1;
          var backSignup = encodeURIComponent('https://ausm.mof.gov.cn/signup/#/wel/index');
          var redirectSignup = 'https://ausm.mof.gov.cn/signup' + '/#/sso?back=' + backSignup;
          if(localStorage.getItem('type') === 'org'){
            alert('仅个人用户可进入')
          }else {
            sa1.ajax('/app-v1/check-register/checkAuth', 'post', {redirectUrl: redirectUri}, function(res) {
              var str = res.msg
              if(str.indexOf("realnameauth") !== -1){
                // window.open(res.msg, '_blank');
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      if(flag){
                        window.location.href = decodeURIComponent(res.data);
                      }else{
                        window.open(decodeURIComponent(res.data), '_blank');
                      }
                    } else {
                      if(flag){
                        window.location.href = redirect;
                      }else{
                        window.open(redirect, '_blank');
                      }
                    }
                  }
                });
              }else{
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirectSignup}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      if(flag){
                        window.location.href = decodeURIComponent(res.data);
                      }else{
                        window.open(decodeURIComponent(res.data), '_blank');
                      }
                    } else {
                      if(flag){
                        window.location.href = redirectSignup;
                      }else{
                        window.open(redirectSignup, '_blank');
                      }
                    }
                  }
                });
              }
            });
          }
        } else {
          goSsoAuthUrl();
        }
      }
    });
  }


  function redirectToClientBmG(clientHost , redirectUri) {
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '/#/sso?back=' + back1;
          var backSignup = encodeURIComponent('https://ausm.mof.gov.cn/signup/#/wel/index');
          var redirectSignup = 'https://ausm.mof.gov.cn/signup' + '/#/sso?back=' + backSignup;
          if(localStorage.getItem('type') === 'org'){
            alert('仅个人用户可进入')
          }else {
            sa1.ajax('/app-v1/check-register/checkAuth', 'post', {redirectUrl: redirectUri}, function(res) {
              var str = res.msg
              if(str.indexOf("realnameauth") !== -1){
                // window.open(res.msg, '_blank');
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      window.open(decodeURIComponent(res.data), '_blank');
                    } else {
                      window.open(redirect, '_blank');
                    }
                  }
                });
              }else{
                sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirectSignup}, function(res) {
                  if (res.success) {
                    if(res.data != null && res.data != '') {
                      window.open(decodeURIComponent(res.data), '_blank');
                    } else {
                      window.open(redirectSignup, '_blank');
                    }
                  }
                });
              }
            });
          }
        } else {
          window.open('http://kzp.mof.gov.cn/ausm/1.html', '_self');
        }
      }
    });
  }

  function redirectToClientDw(clientHost , redirectUri) {
    alert('功能暂未开放，敬请期待！')
    // sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
    //     if (res.success) {
    //         if(res.data != null && res.data != '') {
    //             localStorage.setItem('user_name', "您好，" +  res.data.real_name);
    //             localStorage.setItem('token', res.data.access_token);
    //             localStorage.setItem('refreshToken', res.data.refresh_token);
    //             var back1 = encodeURIComponent(redirectUri);
    //             var redirect = clientHost + '/#/sso?back=' + back1;
    //             if(localStorage.getItem('type') === 'app'){
    //                 alert('仅单位用户可进入')
    //             }else {
    //                 sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
    //                     if (res.success) {
    //                         if(res.data != null && res.data != '') {
    //                             //location.href = decodeURIComponent(res.data);
    //                             window.open(decodeURIComponent(res.data), '_blank');
    //                         } else {
    //                             //location.href = redirect;
    //                             window.open(redirect, '_blank');
    //                         }
    //                     }
    //                 });
    //             }
    //         } else {
    //             goSsoAuthUrl();
    //         }
    //     }
    // });
  }
  function redirectToClientDwK(clientHost , redirectUri) {
    //判断是否是苹果手机
    let flag = navigator.userAgent.match(/(iPhone|iPod|ios|iPad)/i);
    // alert('功能暂未开放，敬请期待！')
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '/#/sso?back=' + back1;
          if(localStorage.getItem('type') === 'app'){
            alert('仅单位用户可进入')
          }else {
            sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
              if (res.success) {
                if(res.data != null && res.data != '') {
                  if(flag){
                    window.location.href = decodeURIComponent(res.data);
                  }else{
                    //location.href = decodeURIComponent(res.data);
                    window.open(decodeURIComponent(res.data), '_blank');
                  }
                } else {
                  if(flag){
                    window.location.href = redirect;
                  }else{
                    //location.href = redirect;
                    window.open(redirect, '_blank');
                  }
                }
              }
            });
          }
        } else {
          goSsoAuthUrl();
        }
      }
    });
  }

  function redirectToClientZkz(clientHost , redirectUri) {
    //判断是否是苹果手机
    let flag = navigator.userAgent.match(/(iPhone|iPod|ios|iPad)/i);
    // alert('功能暂未开放，敬请期待！')
    sa.ajax('/cas/sso/getCurrentInfo', 'post', {}, function(res) {
      if (res.success) {
        if(res.data != null && res.data != '') {
          localStorage.setItem('user_name', "您好，" +  res.data.real_name);
          localStorage.setItem('token', res.data.access_token);
          localStorage.setItem('refreshToken', res.data.refresh_token);
          var back1 = encodeURIComponent(redirectUri);
          var redirect = clientHost + '?back=' + back1;
          if(localStorage.getItem('type') === 'org'){
            alert('仅个人用户可进入')
          }else {
            sa.ajax('/cas/sso/getRedirectUrl', 'post', {redirect: redirect}, function(res) {
              if (res.success) {
                if(res.data != null && res.data != '') {
                  if(flag){
                    window.location.href = decodeURIComponent(res.data);
                  }else{
                    window.open(decodeURIComponent(res.data), '_blank');
                  }
                } else {
                  if(flag){
                    window.location.href = redirect;
                  }else{
                    window.open(redirect, '_blank');
                  }
                }
              }
            });
          }
        } else {
          goSsoAuthUrl();
        }
      }
    });
  }

</script>
</body>
</html>
